package com.jiangyg.mall.order.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 类描述：秒杀订单信息
 *
 * @author jiangyg
 * @version 4.0
 * @date 2022-12-28
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class SeckillOrderDTO implements Serializable {

    private static final long serialVersionUID = -511219084945605170L;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 会员ID
     */
    private Long memberId;

    /**
     * 商品ID
     */
    private Long skuId;

    /**
     * 商品价格
     */
    private BigDecimal price;

    /**
     * 活动ID
     */
    private Long promotionId;

    /**
     * 场次ID
     */
    private Long sessionId;

    /**
     * 订单提交时间
     */
    private Date submitDate;

}
